<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<HTML
><HEAD
><TITLE
>Release 7.4.1</TITLE
><META
NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.79"><LINK
REV="MADE"
HREF="mailto:pgsql-docs@postgresql.org"><LINK
REL="HOME"
TITLE="PostgreSQL 9.1.2 Documentation"
HREF="index.html"><LINK
REL="UP"
TITLE="Release Notes"
HREF="release.html"><LINK
REL="PREVIOUS"
TITLE="Release 7.4.2"
HREF="release-7-4-2.html"><LINK
REL="NEXT"
TITLE="Release 7.4"
HREF="release-7-4.html"><LINK
REL="STYLESHEET"
TYPE="text/css"
HREF="stylesheet.css"><META
HTTP-EQUIV="Content-Type"
CONTENT="text/html; charset=ISO-8859-1"><META
NAME="creation"
CONTENT="2011-12-01T22:07:59"></HEAD
><BODY
CLASS="SECT1"
><DIV
CLASS="NAVHEADER"
><TABLE
SUMMARY="Header navigation table"
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TH
COLSPAN="5"
ALIGN="center"
VALIGN="bottom"
><A
HREF="index.html"
>PostgreSQL 9.1.2 Documentation</A
></TH
></TR
><TR
><TD
WIDTH="10%"
ALIGN="left"
VALIGN="top"
><A
TITLE="Release 7.4.2"
HREF="release-7-4-2.html"
ACCESSKEY="P"
>Prev</A
></TD
><TD
WIDTH="10%"
ALIGN="left"
VALIGN="top"
><A
HREF="release.html"
ACCESSKEY="U"
>Up</A
></TD
><TD
WIDTH="60%"
ALIGN="center"
VALIGN="bottom"
>Appendix E. Release Notes</TD
><TD
WIDTH="20%"
ALIGN="right"
VALIGN="top"
><A
TITLE="Release 7.4"
HREF="release-7-4.html"
ACCESSKEY="N"
>Next</A
></TD
></TR
></TABLE
><HR
ALIGN="LEFT"
WIDTH="100%"></DIV
><DIV
CLASS="SECT1"
><H1
CLASS="SECT1"
><A
NAME="RELEASE-7-4-1"
>E.144. Release 7.4.1</A
></H1
><DIV
CLASS="NOTE"
><BLOCKQUOTE
CLASS="NOTE"
><P
><B
>Release Date: </B
>2003-12-22</P
></BLOCKQUOTE
></DIV
><P
>   This release contains a variety of fixes from 7.4.
   For information about new features in the 7.4 major release, see
   <A
HREF="release-7-4.html"
>Section E.145</A
>.
  </P
><DIV
CLASS="SECT2"
><H2
CLASS="SECT2"
><A
NAME="AEN125549"
>E.144.1. Migration to Version 7.4.1</A
></H2
><P
>    A dump/restore is <SPAN
CLASS="emphasis"
><I
CLASS="EMPHASIS"
>not</I
></SPAN
> required for those
    running 7.4.
   </P
><P
>    If you want to install the fixes in the information schema
    you need to reload it into the database.
    This is either accomplished by initializing a new cluster
    by running <TT
CLASS="COMMAND"
>initdb</TT
>, or by running the following
    sequence of SQL commands in each database (ideally including
    <TT
CLASS="LITERAL"
>template1</TT
>) as a superuser in
    <SPAN
CLASS="APPLICATION"
>psql</SPAN
>, after installing the new release:
</P><PRE
CLASS="PROGRAMLISTING"
>DROP SCHEMA information_schema CASCADE;
\i /usr/local/pgsql/share/information_schema.sql</PRE
><P>
    Substitute your installation path in the second command.
   </P
></DIV
><DIV
CLASS="SECT2"
><H2
CLASS="SECT2"
><A
NAME="AEN125558"
>E.144.2. Changes</A
></H2
><P
></P
><UL
><LI
><P
>Fixed bug in <TT
CLASS="COMMAND"
>CREATE SCHEMA</TT
> parsing in ECPG (Michael)</P
></LI
><LI
><P
>Fix compile error when <TT
CLASS="OPTION"
>--enable-thread-safety</TT
> and <TT
CLASS="OPTION"
>--with-perl</TT
> are used together (Peter)</P
></LI
><LI
><P
>Fix for subqueries that used hash joins (Tom)</P
><P
>   Certain subqueries that used hash joins would crash because of
   improperly shared structures.</P
></LI
><LI
><P
>Fix free space map compaction bug (Tom)</P
><P
>   This fixes a bug where compaction of the free space map could lead
   to a database server shutdown.</P
></LI
><LI
><P
>Fix for Borland compiler build of libpq (Bruce)</P
></LI
><LI
><P
>Fix <CODE
CLASS="FUNCTION"
>netmask()</CODE
> and <CODE
CLASS="FUNCTION"
>hostmask()</CODE
> to return the maximum-length masklen (Tom)</P
><P
>   Fix these functions to return values consistent with pre-7.4
   releases.</P
></LI
><LI
><P
>Several <TT
CLASS="FILENAME"
>contrib/pg_autovacuum</TT
> fixes</P
><P
>   Fixes include improper variable initialization, missing vacuum after
   <TT
CLASS="COMMAND"
>TRUNCATE</TT
>, and duration computation overflow for long vacuums.</P
></LI
><LI
><P
>Allow compile of <TT
CLASS="FILENAME"
>contrib/cube</TT
> under Cygwin (Jason Tishler)</P
></LI
><LI
><P
>Fix Solaris use of password file when no passwords are defined (Tom)</P
><P
>   Fix crash on Solaris caused by use of any type of password
   authentication when no passwords were defined.</P
></LI
><LI
><P
>JDBC fix for thread problems, other fixes</P
></LI
><LI
><P
>Fix for <TT
CLASS="TYPE"
>bytea</TT
> index lookups (Joe)</P
></LI
><LI
><P
>Fix information schema for bit data types (Peter)</P
></LI
><LI
><P
>Force zero_damaged_pages to be on during recovery from WAL</P
></LI
><LI
><P
>Prevent some obscure cases of <SPAN
CLASS="QUOTE"
>"variable not in subplan target lists"</SPAN
></P
></LI
><LI
><P
>Make <CODE
CLASS="FUNCTION"
>PQescapeBytea</CODE
> and <CODE
CLASS="FUNCTION"
>byteaout</CODE
> consistent with each other (Joe)</P
></LI
><LI
><P
>Escape <TT
CLASS="TYPE"
>bytea</TT
> output for bytes &gt; 0x7e(Joe)</P
><P
> If different client encodings are used for <TT
CLASS="TYPE"
>bytea</TT
> output and input, it
 is possible for <TT
CLASS="TYPE"
>bytea</TT
> values to be corrupted by the differing
 encodings.  This fix escapes all bytes that might be affected.</P
></LI
><LI
><P
>Added missing <CODE
CLASS="FUNCTION"
>SPI_finish()</CODE
> calls to dblink's <CODE
CLASS="FUNCTION"
>get_tuple_of_interest()</CODE
> (Joe)</P
></LI
><LI
><P
>New Czech FAQ</P
></LI
><LI
><P
>Fix information schema view <TT
CLASS="LITERAL"
>constraint_column_usage</TT
> for foreign keys (Peter)</P
></LI
><LI
><P
>ECPG fixes (Michael)</P
></LI
><LI
><P
>Fix bug with multiple <TT
CLASS="LITERAL"
>IN</TT
> subqueries and joins in the subqueries (Tom)</P
></LI
><LI
><P
>Allow <TT
CLASS="LITERAL"
>COUNT('x')</TT
> to work (Tom)</P
></LI
><LI
><P
>Install ECPG include files for Informix compatibility into separate directory (Peter)</P
><P
> Some names of ECPG include files for Informix compatibility conflicted with operating system include files.
 By installing them in their own directory, name conflicts have been reduced.</P
></LI
><LI
><P
>Fix SSL memory leak (Neil)</P
><P
> This release fixes a bug in 7.4 where SSL didn't free all memory it allocated.</P
></LI
><LI
><P
>Prevent <TT
CLASS="FILENAME"
>pg_service.conf</TT
> from using service name as default dbname (Bruce)</P
></LI
><LI
><P
>Fix local ident authentication on FreeBSD (Tom)</P
></LI
></UL
></DIV
></DIV
><DIV
CLASS="NAVFOOTER"
><HR
ALIGN="LEFT"
WIDTH="100%"><TABLE
SUMMARY="Footer navigation table"
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
><A
HREF="release-7-4-2.html"
ACCESSKEY="P"
>Prev</A
></TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="index.html"
ACCESSKEY="H"
>Home</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
><A
HREF="release-7-4.html"
ACCESSKEY="N"
>Next</A
></TD
></TR
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
>Release 7.4.2</TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="release.html"
ACCESSKEY="U"
>Up</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
>Release 7.4</TD
></TR
></TABLE
></DIV
></BODY
></HTML
>